<?php

class Jogo extends CActiveRecord {

    public static function model($className=__CLASS__) {
        return parent::model($className);
    }

    public function tableName() {
        return '{{jogo}}';
    }

    public function primaryKey() {
        return array('id');
    }


	public function rules()
	{
		return array(
			array('id_time_1, id_time_2', 'required'),
		);
	}

}
